<!--
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-06 14:25:06
 * @LastEditTime: 2019-09-16 16:59:49
 * @LastEditors: Please set LastEditors
 -->
  <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
	<f:layout name="Default" />

	This Template is responsible for creating a table of domain objects.

	If you modify this template, do not forget to change the overwrite settings
	in /Configuration/ExtensionBuilder/settings.yaml:
	  Resources:
		Private:
		  Templates:
			List.html: keep

	Otherwise your changes will be overwritten the next time you save the extension in the extension builder

	<f:section name="content">
	<link rel="stylesheet" type="text/css" href="{f:uri.resource(path:'Css/style.css')}" />
		<div class="activity-detail">
			<div class="activity-title text-center">
				{activity.name}
			</div>
			<div class="activity-panel">
				<!-- Baidu Button BEGIN -->
				<div class="pull-left">
					<div class="bdsharebuttonbox"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
					<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
				</div>
				<!-- Baidu Button END -->
				<div class="pull-right">
					<span>类型：{activity.types.name}</span>
					<span>标签：{activity.tagname}</span>
				</div>
				<div class="clear"></div>
			</div>
			<div class="activity-desc">
				<f:if condition="{activity.introduce}">
					<div class="activity-introduce">
						<f:format.raw>{activity.introduce}</f:format.raw>
					</div>
				</f:if>
				<f:format.raw>{activity.contents}</f:format.raw>
				<div class="activity-cont">
					<div>活动开始时间:{activity.sttime-> f:format.date(format:'Y-m-d H:i')}</div>
					<div>活动结束时间:{activity.overtime-> f:format.date(format:'Y-m-d H:i')}</div>
					<div>活动地点:{activity.address}</div>
				</div>
				<div class="text-center activity-btn">
					<f:if condition="{activity.sendstat}==1">
						<f:then>
							<!-- <f:link.typolink parameter="{chinkinUri}" class="btn btn-success">我要签到</f:link.typolink> -->
							<f:link.typolink parameter="{signinUri}" class="btn btn-success">我要报名</f:link.typolink>
						</f:then>
						<f:else>
							<div class="btn btn-default">活动已结束</div>
						</f:else>
					</f:if>
					
				</div>
			</div>
		</div>
		<f:if condition="{issign}">
			<!-- 签到表单 -->
			<f:render partial="Signup/CheckForm" arguments="{_all}" />
		</f:if>

		<!-- 报名表单 -->
		<f:render partial="Signup/SignForm" arguments="{_all}" />
	</f:section>
</html>
